﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ShoppingCart.ascx.cs" Inherits="WebNXBKD12.ShoppingCart" %>

<asp:GridView ID="CartGrid" runat="server" AutoGenerateColumns="False" 
    DataKeyNames="ProductID">
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
                <asp:Image ID="Image1" runat="server" Height="80px" Width="80px" />
            </ItemTemplate>
        </asp:TemplateField>
        <asp:BoundField HeaderText="Product" />
        <asp:BoundField HeaderText="Quantity" />
        <asp:BoundField HeaderText="Price" />
        <asp:BoundField HeaderText="Total" />
        <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
    </Columns>
    <EmptyDataTemplate>
        There is empty. Return to home page
    </EmptyDataTemplate>
</asp:GridView>


